<template>
	<a-table ref="listRef" :option="option" @editHandle="editHandle" @subForm="subForm" >
		<template #default="type">
			<el-table-column prop="name" label="姓名" min-width="200"> </el-table-column>
			<el-table-column prop="phone" label="手机" min-width="200"> </el-table-column>
			<el-table-column prop="email" label="邮箱" min-width="200"> </el-table-column>
			<!-- <el-table-column prop="sex" label="性别" min-width="200"> </el-table-column>
			<el-table-column prop="age" label="年龄" min-width="200"> </el-table-column> -->
			<el-table-column prop="notes" label="备注" min-width="200"> </el-table-column>
			<!-- <el-table-column prop="other" label="其他" min-width="200">
                <template #default="scope">
                    {{ JSON.stringify(scope.row.other) }}
				</template>
            </el-table-column> -->
		</template>
	</a-table>
</template>

<script setup>
	import aTable from "@/components/table/index.vue"
	const option = {
		name: '表单',
		activeWidth:'70',
		getUrl: 'api/form/list_data',
		delUrl: 'api/form/del_data'
	}
</script>